let a = 10;
let arr = [1, 2, 3, 4, 5];
arr.push(6);
let arr1 = arr.filter((item, index) => item % 2 === 0);
const b = () => {
  for (let i = 0;i<=arr1.length;i++) {
    console.log(i);
  }
};
b();
